package org.jackysoft.struts2.workflow;

import javax.annotation.Resource;

import org.jackysoft.service.WorkItemService;
import org.jackysoft.struts2.UtilsCRUDAction;
import org.jackysoft.workflow.WorkItem;

public abstract class WorkflowItemAction extends UtilsCRUDAction<WorkItem> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3884218187407318470L;
	private Long workflowId;

	
	@Resource
	public void setItemService(WorkItemService itemService) {
		this.setDataProvider(itemService);
	}


	public Long getWorkflowId() {
		return workflowId;
	}


	public void setWorkflowId(Long workflowId) {
		this.workflowId = workflowId;
	}

}
